<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>

    <style>
      div {
        height: 400px;
        overflow: auto;
      }
      p {
        height: 200px;
        border: solid;
      }
    </style>
  </head>
  <body>
    <div id="box">
      <p>1</p>
      <p>2</p>
      <p>3</p>
      <p>4</p>
      <p>5</p>
      <p>6</p>
    </div>
    <script>
      const box = document.getElementById("box");

      box.addEventListener(
        "touchmove",
        (e) => {
          // e.preventDefault();
          //   if (e.defaultPrevented) {
          console.log("hello");
          //   }
        },
        { passive: true }
      );
    </script>
  </body>
</html>
